<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta content="text/html;charset=UTF-8" />
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.css" rel="stylesheet">
        <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" rel="stylesheet">
        <script src="https://cdn.bootcss.com/jquery/2.2.0/jquery.js"></script>
        <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.js"></script>
    </head>
    <body>
    <div class="container">
    <div class="table-responsive">
		<table  class="table able-striped  table-hover">  
              <tr class="center ">  
                <th>用户名</th>  
                <th>密码</th>  
                <th>地址</th>  
                <th>状态变量：index</th>  
                <th>状态变量：count</th>  
                <th>状态变量：size</th>  
                <th>状态变量：even</th>  
                <th>状态变量：odd</th>  
              </tr>  
              <tr  th:each="user,userStat : ${customerList}">  
                <td th:text="${user.username}"></td>  
                <td th:text="${user.password}"></td>  
                <td th:text="${user.address}">默认</td>  
                <th th:text="${userStat.index}">状态变量：index</th>  
                <th th:text="${userStat.count}">状态变量：count</th>  
                <th th:text="${userStat.size}">状态变量：size</th>  
                <th th:text="${userStat.even}">状态变量：even**</th>  
                <th th:text="${userStat.odd}">状态变量：odd</th>  
                <th><a th:href="@{'/customer/update/'+${user.customerid}}">更新</a></th>
              </tr>  
            </table>  
           </div>
           </div>
    </body>
</html>